package net.lab1024.sa.admin.module.aneswork.schedule;

import java.util.List;
import net.lab1024.sa.admin.module.aneswork.schedule.domain.entity.StudentScheduleEntity;
import net.lab1024.sa.admin.module.aneswork.schedule.domain.form.StudentScheduleQueryForm;
import net.lab1024.sa.admin.module.aneswork.schedule.domain.vo.StudentScheduleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 轮转表 Dao
 *
 * @Author fwj
 * @Date 2025-04-29 15:32:59
 * @Copyright 1.0
 */

@Mapper
@Component
public interface StudentScheduleDao extends BaseMapper<StudentScheduleEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<StudentScheduleVO> queryPage(Page page, @Param("queryForm") StudentScheduleQueryForm queryForm);

    /**
     * 查询全部
     * @param queryForm
     * @return
     */
    List<StudentScheduleVO> list(@Param("queryForm") StudentScheduleVO queryForm);

}
